package com.hospital.workstation.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hospital.common.annotation.ExcelDictFormat;
import com.hospital.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 不良反应/事件记录表视图对象 electronic_bad_record_info
 *
 * @author hospital
 * @date 2024-05-07
 */
@Data
@ExcelIgnoreUnannotated
public class ElectronicBadRecordInfoVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 监测表id
     */
    @ExcelProperty(value = "监测表id")
    private Long monitorId;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    private String goodsName;

    /**
     * 批准文号
     */
    @ExcelProperty(value = "批准文号")
    private String authorizeNo;

    /**
     * 通用名称（含剂型）
     */
    @ExcelProperty(value = "通用名称", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "含=剂型")
    private String generalName;

    /**
     * 生产厂家
     */
    @ExcelProperty(value = "生产厂家")
    private String productFactory;

    /**
     * 批号
     */
    @ExcelProperty(value = "批号")
    private String batchNo;

    /**
     * 用法用量（次剂型、途径、日次数）
     */
    @ExcelProperty(value = "用法用量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "次=剂型、途径、日次数")
    private String usageAmount;

    /**
     * 使用起止时间
     */
    @ExcelProperty(value = "使用起止时间")
    private String beginEndDate;

    /**
     * 用药原因
     */
    @ExcelProperty(value = "用药原因")
    private String usePillsReason;

}
